<template>
  <el-table-column :="$attrs">
    <template #default="{ row }">
      <el-button type="primary" link @click="onClick(row)">详情</el-button>
    </template>
  </el-table-column>
</template>

<script setup lang="ts">
import { ElTableColumn, ElButton } from 'element-plus'
import { detailDetailDialog } from '../dialog/performance-detail-dialog'

const onClick = row => {
  detailDetailDialog.open({ row })
}
</script>
